import request from '@/utils/index.js'

export const getSwiper = () => {
    return request({
        url:'/home/swiperdata'
    })
}

export const getCatitems = () => {
    return request({
        url:'/home/catitems'
    })
}

export const getFloor = () => {
    return request({
        url:'/home/floordata'
    })
}

export const getCategories = () => {
    return request({
        url:"/categories"
    })
}

export const getGoogsItem = (data) => {
     return request({
         url:'/goods/search',
         data
     })
}